package cn.edu.ecust.seckill.config;

import cn.edu.ecust.seckill.result.Result;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.concurrent.CompletableFuture;

@AllArgsConstructor
@Data
public class Task {

    private Long userId;

    private Long productId;

    private CompletableFuture<Result<Void>> completableFuture;

}
